package bean;

/**
 * 
 * @author zhi keyan
 *
 * 
 */
public class Person {
	private String name;
	private String phoneNumber;
	private String email;
	private String password;
	private String id;
	private Integer state;
	private String reason;

	public Person() {
		super();
	}

	/**
	 * @param state
	 *            账户状态
	 * @param reason
	 *            拒绝理由
	 * @param name
	 *            姓名
	 * @param phoneNumber
	 *            手机
	 * @param email
	 *            邮箱
	 * @param password
	 *            密码
	 * @param id
	 *            身份证号
	 */
	public Person(String name, String phoneNumber, String email, String password, String id, Integer state,
			String reason) {
		super();
		this.name = name;
		this.phoneNumber = phoneNumber;
		this.email = email;
		this.password = password;
		this.id = id;
		this.state = state;
		this.reason = reason;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	@Override
	public String toString() {
		return "Person [name=" + name + ", phoneNumber=" + phoneNumber + ", email=" + email + ", password=" + password
				+ ", id=" + id + ", state=" + state + ", reason=" + reason + "]";
	}



}
